//
//  ZTNavVC.swift
//  swift-one
//
//  Created by ZT on 2022/11/17.
//

import UIKit

class ZTNavVC: UINavigationController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        if #available(iOS 13.0, *) {
            let appearance = UINavigationBarAppearance()
            appearance.configureWithOpaqueBackground()
            appearance.backgroundColor = UIColor(red: 245/255, green: 245/255, blue: 245/255, alpha: 1)
            navigationBar.standardAppearance = appearance;
            navigationBar.scrollEdgeAppearance = navigationBar.standardAppearance
        } else {
            self.navigationBar.barTintColor = UIColor(red: 245/255, green: 245/255, blue: 245/255, alpha: 1)
        }
        
    }
    
}

extension ZTNavVC{
    
    
    
}
